package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 股东表
    */
public class Shareholder implements Serializable {
    private Integer id;

    /**
    * 供应商id
    */
    private Integer supplierId;

    /**
    * 股东名称
    */
    private String name;

    /**
    * 股东所有制类型（数据库字典中获得）
    */
    private Integer dictionaryIdType;

    /**
    * 出资比例
    */
    private String investmentRatio;

    /**
    * （0删除  1未删）
    */
    private Boolean enable;

    /**
    * 添加人
    */
    private Integer addStaffId;

    /**
    * 添加时间
    */
    private Date addTime;

    /**
    * 修改人
    */
    private Integer updateStaffId;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDictionaryIdType() {
        return dictionaryIdType;
    }

    public void setDictionaryIdType(Integer dictionaryIdType) {
        this.dictionaryIdType = dictionaryIdType;
    }

    public String getInvestmentRatio() {
        return investmentRatio;
    }

    public void setInvestmentRatio(String investmentRatio) {
        this.investmentRatio = investmentRatio;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", name=").append(name);
        sb.append(", dictionaryIdType=").append(dictionaryIdType);
        sb.append(", investmentRatio=").append(investmentRatio);
        sb.append(", enable=").append(enable);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}